public class test {
    public void speak(String word){

       // return word;

    }
    public void speak2(int num)
    {
       num=2;
    }
    public static void main(String[] args) {
        String word="Asd";
        String p=word;
        test newt=new test();
         p="123";
        System.out.println(word);
        int fakos =1;
        newt.speak2(fakos);
        System.out.println(fakos);

    }
}
